package com.group.model;


import java.math.BigDecimal;
import java.util.Date;

/**
 * 账户余额
 *
 * @author anguogang
 */
public class AccountBalance {


    /**
     * 主键
     */
    private long id;
    /**
     * 币的类型
     */
    private String type;
    /**
     * 币的id:bitcoin,ethereum等
     */
    private String cid;
    /**
     * 币地址
     */
    private String addr;
    /**
     * 订约地址
     */
    private String contractAddr;
    /**
     * 币余额
     */
    private BigDecimal balance;

    /**
     * 24h差值
     */
    private BigDecimal diff24h;
    /**
     * 日期
     */
    private Date date;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getContractAddr() {
        return contractAddr;
    }

    public void setContractAddr(String contractAddr) {
        this.contractAddr = contractAddr;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public BigDecimal getDiff24h() {
        return diff24h;
    }

    public void setDiff24h(BigDecimal diff24h) {
        this.diff24h = diff24h;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

}
